package org.jeecg.modules.flow.callback.delivery.move;

import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.business.transfer.entity.WmsMoveReceipt;
import org.jeecg.modules.business.transfer.service.IWmsMoveReceiptService;
import org.jeecg.modules.flow.callback.enums.DocumentStatusEnum;
import org.jeecg.modules.flow.sys.common.BaseCustomBeanRun;
import org.jeecg.modules.flow.sys.entity.dto.BaseFlowDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 条料调拨因出移库单 等料架
 *
 * @author gongwenkai
 * @version 1.0.0
 * @since 2023-11-27
 */
@Component
public class Y106MoveReceiptWaitMaterialRackBean<T> extends BaseCustomBeanRun<T> {

    @Autowired
    private IWmsMoveReceiptService wmsMoveReceiptService;

    /**
     * 等料架
     */
    @Override
    public void actureRun() {
        BaseFlowDto baseFlowDto = this.getBaseFlowDto();
        String receiptId = baseFlowDto.getInfoId();
        //do nothing
        baseFlowDto.setInfoId(receiptId);
        baseFlowDto.setResult(Result.OK());
    }
}
